﻿<%@ Page Language="C#" MasterPageFile="~/education.master" AutoEventWireup="true" CodeFile="eduExamPaper.aspx.cs" Inherits="eduExamPaper" Title="Untitled Page" %>
<%@ Register Assembly="Infragistics2.WebUI.WebDataInput.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<%@ Register Assembly="Infragistics2.WebUI.Misc.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="EduContent" Runat="Server">
    <TABLE style="WIDTH: 100%; HEIGHT: 100%" __designer:mapid="4f">
    <TBODY __designer:mapid="50"><TR __designer:mapid="51"><TD align=center 
            __designer:mapid="52">
        题库编辑</TD></TR>
        <TR __designer:mapid="65"><TD align=left __designer:mapid="66">
            <asp:Label id="Label11" runat="server" Text="通过考试需答对题目最少数"></asp:Label>
            <igtxt:WebNumericEdit ID="WebNumericEdit2" runat="server" Width="100px" 
        DataMode="Int">
            </igtxt:WebNumericEdit>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="WebNumericEdit2" ErrorMessage="必填写" 
        ValidationGroup="exam"></asp:RequiredFieldValidator>
    </TD></TR>
    <TR __designer:mapid="56">
        <td align="left" __designer:mapid="57">
            <igtbl:UltraWebGrid style="LEFT: 43px; TOP: 29px" id="UltraWebGrid1" runat="server" Width="100%" DataMember="DefaultView" OnUpdateGrid="UltraWebGrid1_UpdateGrid">
                <Bands>
                    <igtbl:UltraGridBand>
                        <AddNewRow View="NotSet" Visible="NotSet">
                        </AddNewRow>
                        <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge">
                            <BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px"  />
                        </RowTemplateStyle>
                    </igtbl:UltraGridBand>
                </Bands>
                <DisplayLayout AllowColumnMovingDefault="OnServer"
                                        AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"
                                        HeaderClickActionDefault="SortMulti" Name="UltraWebGrid1" 
                                        RowHeightDefault="20px" SelectTypeRowDefault="Extended" StationaryMargins="Header"
                                        StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" 
                                        NoDataMessage="题库中没有题目！">
                    <GroupByBox>
                        <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                        </BoxStyle>
                    </GroupByBox>
                    <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                    </GroupByRowStyleDefault>
                    <ActivationObject BorderColor="" BorderWidth="">
                    </ActivationObject>
                    <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px"  />
                    </FooterStyleDefault>
                    <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
                                            Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                        <BorderDetails ColorLeft="Window" ColorTop="Window"  />
                        <Padding Left="3px"  />
                    </RowStyleDefault>
                    <FilterOptionsDefault>
                        <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"
                                                BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
                                                Font-Size="11px">
                            <Padding Left="2px"  />
                        </FilterOperandDropDownStyle>
                        <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                        </FilterHighlightRowStyle>
                        <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
                                                CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
                                                Font-Size="11px" Height="300px" Width="200px">
                            <Padding Left="2px"  />
                        </FilterDropDownStyle>
                    </FilterOptionsDefault>
                    <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">
                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px"  />
                    </HeaderStyleDefault>
                    <EditCellStyleDefault BorderStyle="None" BorderWidth="0px" Width="200px">
                    </EditCellStyleDefault>
                    <FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"
                                            BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt"
                                            Width="100%">
                    </FrameStyle>
                    <Pager MinimumPagesForDisplay="2" AllowPaging="True">
                        <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px"  />
                        </PagerStyle>
                    </Pager>
                    <AddNewBox>
                        <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">
                            <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px"  />
                        </BoxStyle>
                    </AddNewBox>
                    <AddNewRowDefault Visible="Yes">
                    </AddNewRowDefault>
                </DisplayLayout>
            </igtbl:UltraWebGrid>
  
        </td>
    </TR>
    <tr __designer:mapid="5a">
        <td align="left" __designer:mapid="5b">
            <asp:Label ID="Label1" runat="server" ForeColor="Blue" 
                Text="提示：自动生成试卷时，通过考试答对的最小题数必须小于抽取的总题数；抽取各个资料的题数必须小于题库中的题数，否则生成试卷失败。"></asp:Label>
        </td>
    </tr>
    <TR __designer:mapid="5d"><TD align=center __designer:mapid="5e">
        <asp:Label ID="Label12" runat="server" ForeColor="Red"></asp:Label>
        </TD></TR>
    <tr __designer:mapid="60">
        <td align="center" __designer:mapid="61">
            <asp:Button ID="btnpaper" runat="server" OnClick="btnpaper_Click" 
                Text="生成机考试卷" ValidationGroup="exam" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnprintertest" runat="server" onclick="btnprintertest_Click" 
                Text="生成现场考试试卷" ValidationGroup="exam" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnpaper0" runat="server" 
                PostBackUrl="~/eduenterExampaper.aspx" Text="返回" />
        </td>
    </tr>
</TBODY></TABLE>
</asp:Content>

